<?php

namespace app\model\system;

use app\model\BaseModel;

/**
 *
 */
class SysLog extends BaseModel
{
   
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = "sys_log";


    public function toArray(array $merges = []): array
    {
        $modeArray = [
            "module" => $this->module,
            "content" => $this->content,
            "requestUri" => $this->requestUri,
            "method" => $this->method,
            "ip" => $this->ip,
            "region" => $this->region,
            "browser" => $this->browser,
            "os" => $this->os,
            "executionTime" => $this->executionTime,
            "createBy" => $this->createBy,
            "createTime" => $this->createTime,
            "operator" => $this->operator,
        ];
        return $this->merge($modeArray, $merges);
    }
}
